<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="content-type" content="text/html" charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,minimal-ui" />
    <meta name="format-detection" content="telephone=no">
    <title>{{$list['name_en']}}行情</title>
    <link rel="stylesheet" href="{{asset('/api/static/css/base.css')}}">
    <link rel="stylesheet" href="{{asset('/api/static/css/index.css')}}">
    <link rel="stylesheet" href="{{asset('/api/static/css/transfer.css')}}">

</head>
<body>
<section class="market-wrap">
    <ul class="market-list img-title">
        <li>
            <a href="javascript:;" class="select-href clearfix">
            <span class="fl">
              <img src="{{$list['img']}}" alt="">
            </span>
                <span class="fl">{{$list['name']}}：{{$list['name_en']}}</span>
                <span class="fr c-orange">${{$list['money']}}</span>
            </a>
            <section class="number-msg assets-num-msg">
                <p>
                    <span>最高价：<i>${{$list['price_top']}}</i></span>
                    <span>最低价：<i>${{$list['price_low']}}</i></span>
                </p>
                <p>
                    <span>成交额：<i>{{$list['total_price']}}</i></span>
                    <span>成交量：<i>{{$list['total_num']}}</i></span>
                </p>
            </section>
        </li>
    </ul>
    <section class="data-wrap">
        <section class="data-title">成交记录</section>
        <section class="table-list">
            <table>
                <tr>
                    {{--<th>类型</th>--}}
                    <th>成交价格</th>
                    <th>成交量</th>
                    <th>总计</th>
                    <th>时间</th>
                </tr>
                @foreach($list['data'] as $key => $val)
                <tr>
                    {{--@if($val['type']==1)--}}
                        {{--<td>买入</td>--}}
                    {{--@else--}}
                        {{--<td>卖出</td>--}}
                    {{--@endif--}}
                    <td><p>{{$val['price']}}</p></td>
                    <td><p>{{$val['num']}}</p></td>
                    <td><p>{{$val['total_price']}}</p></td>
                    <td><p>{{$val['created_at']}}</p></td>
                </tr>
                @endforeach
            </table>
        </section>
    </section>
</section>
<script src="{{asset('/api/static/js/rem.js')}}"></script>
<script src="{{asset('/api/static/js/copy.js')}}"></script>

</body>
</html>
